
<div id="externallogin">
  <div class="externalcontainer bgcolor-main">
    <div id="externalloginmiddleleft">
      <h1>Login to BBPeopleMeet.com</h1>
      <form id="frmLogin" method="post" action="process">
        <div id="externalloginusername">
          <p>Email</p>
          <input id="username" name="username" tabindex="1" type="text">
        </div>
        <div id="externalloginpassword">
          <p>Password</p>
          <input id="password" name="password" autocomplete="off" tabindex="2" value="" type="password">
        </div>
        <div id="externalloginrememberme">
          <input id="chkRememberMe" name="RememberMe" value="true" type="checkbox">
          <label for="chkRememberMe"><p>Remember Me</p></label>
        </div>
        <div id="externalloginbtn"><a href="javascript:void(0);" id='btnSubmit' class="button_style" title="Login">Login</a></div>


        <input value="<?php echo $csrftoken; ?>" id="ioBlackBox" name="ioBlackBox" type="hidden">

      </form>
    </div>
    <div id="externalloginmiddleright" class="bgcolor-login">
      <p>Not a member yet?<br>
        <a href="/site/register">Join Free</a>
      </p>
      <p>Forget password?<br>
        <a href="#">Click here</a>
      </p>
    </div>
    <p class="clearfix">&nbsp;</p>
  </div>
</div>

<script>
$('#btnSubmit').click(function(){
  $('#frmLogin').submit();
});  
</script>